package com.feng.controller.front;

import com.feng.service.CompanyService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: 丰
 * @date: 2023/1/1 16:24
 */
@RestController
@RequestMapping("/front/company")
@Api(tags = "前台公司接口")
public class FrontCompanyController {

    @Autowired
    private CompanyService companyService;

    @ApiOperation("查询展示公司信息")
    @GetMapping("/get")
    public Object get(){
        return companyService.get();
    }
}
